package com.whsxt.common;

import java.util.List;

/**
 * @Author 武汉尚学堂
 *  分页信息封装类
 */
public class PageInfo<T> {


    private Integer page;  //页码

    private Integer limit; //每页的数据条数

    private Integer total;//总数据条数


    private List<T>  data;//数据


    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
